<table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">
  <caption style="border-bottom: 0px;">
    <%= "#{Teacher.human_name}" %>
  </caption>
  <tr>
    <th><%= "#{AcademicDegree.human_name}" %></th>
    <th><%= "#{Person.human_attribute_name(:full_name)}" %></th>
    <th><%= "#{Teacher.human_attribute_name(:is_active)}" %></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% @teachers.each do |teacher| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td class="<%= current_cycle %>"><%= teacher.academic_degree.name %></td>
      <td class="<%= current_cycle %>"><%= teacher.person.reverse_full_name %></td>
      <td class="<%= current_cycle %>"><%= teacher.is_active ? t(:true_yes) : t(:false_no) %></td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:show), teacher %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:edit), edit_teacher_path(teacher) %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:delete), teacher, :confirm => t(:prompt_delete_x, :x => teacher.person.full_name), :method => :delete %> ]</td>
    </tr>
  <% end %>
</table>